<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="info.rule_name" placeholder="规则名称"> 
        </div>
        <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="getlist()">搜索</button> 
        </div>
        <div class="col-sm-2">
            <button class="btn btn-block btn-info" ng-click="add()">添加</button> 
        </div>
        
    </div>

</div>
</div>
</div>
<!-- searchArea -->
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-4 text-center">规则名称</th>
                    <th class="col-md-4 text-center">id</th>
                    <th class="col-md-4 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.rule_name}}</td>
                    <td class="text-center">{{obj.id}}</td>
                    <td class="text-center">
                        <a ng-click="edit(obj)" class="btn btn-primary btn-xs">编辑</a> 
                        <a ng-click="delete(obj.id)" class="btn btn-danger btn-xs">删除</a> 
                    </td>
                    

                </tr>
            </tbody>
        </table>
    </div>
</div>

</div>
        

